package org.jsbd.boss.service;

import java.util.List;

import org.jsbd.boss.domian.channel.Hsman;

public interface IHsmanService {

	/**
	 * 
	 * selectList:获取hsman
	 * 
	 * @author <a href="mailto:xupengcheng@zhexinit.com" >徐鹏程</a>
	 * @param hsman
	 * @return
	 */
	public List<Hsman> selectList(Hsman hsman);
	
	/**
	 * 
	 * selectList:获取hsman
	 * 
	 * @author <a href="mailto:xupengcheng@zhexinit.com" >徐鹏程</a>
	 * @param hsman
	 * @return
	 */
	public List<String> selectListCache(String hsman);

	/**
	 * 
	 * selectHsman:查询hsman
	 * 
	 * @author <a href="mailto:xupengcheng@zhexinit.com" >徐鹏程</a>
	 * @param id
	 * @return
	 */
	public Hsman selectHsman(Integer id);

	/**
	 * 
	 * updateHsman:更新hsman
	 * 
	 * @author <a href="mailto:xupengcheng@zhexinit.com" >徐鹏程</a>
	 * @param hsman
	 * @return
	 */
	public Integer updateHsman(Hsman hsman);

	public Integer insertHsman(Hsman hsman);
	
	public void batchInsert(List<Hsman> list);

	public Integer deleteHsman(Integer id);

	public Integer selectCount(Hsman hsman);
}
